package webapp.mvc.services;

import webapp.mvc.exceptions.CategoryException;
import webapp.mvc.models.ShopCategoryEntity;

import java.util.List;

public interface ICategoryService {
    ShopCategoryEntity findById(String id);
    List<ShopCategoryEntity> getShopCategories();
    ShopCategoryEntity createShopCategory(String name, String logoUrl) throws CategoryException;
    ShopCategoryEntity deleteShopCategory(ShopCategoryEntity shopCategoryEntity) throws CategoryException;
    ShopCategoryEntity findShopCategoryByName(String name);
}
